fix an exception in server where it will be triggered by wrong handling after re-connected from client
0.3