Implemented additional flock() file locking for svdss (should fix issue with "double spawn")