Limit bash script to one running instance, while keeping it open to other calls