lock the views from executing concurrently