fixed bug that causes a crash if a client trys to connect if parsing was not started yet