fix browserstack tests running forever