What would some possible causes be for when I write data to a Socket on one end, and then when I read it on the other the read method return -1 even though I am connected?