Automatically reconnect slave server