Added a reconnect method;