Socket connect problem fixed by reloading page