Fix for opening browser before the server is actually listening on a port.