check if users are currenlty connected before rebooting