Make use of mutex to ensure single instance (more robust and faster)