Only allow one instance of application at a time.