stop server to send data