try reconnect on connection error