Implemented Server reconnect