pruning and beggining of server re-connect after client disconnect