graceful exit from test-browser