bugfix #1200 reconnect