added server reconnect on timeout