Attempt to fix deadlock on socket error