Use lockfile to ensure only one instance of notebook running at time