#159 Fixed reconnection on ajax error