Changed how we lock the application. This should give devs and testers a better performance on internal machines