function to stop server
handle the monitoring :DOWN message