don't lock locationsMutex from Location.main(): there was an interlock between closeLocation called from Location.main() and update_currently_used_sites