Emit connection errors after client socket is returned.