Forceful reconnect and fix logging bug