conn timeout & error event & fix autoreconnect