Properly handle the background webserver isolated environment