Added gaurds for when server is not running but requests are coming in