changed sockRecv to handle lost SYNACK correctly