bugfix: waiting clients were initiating infite connection to master server when in waiting state