ybrs/single-beat — pull request #2 by edmund-wagner (2014-07-21 16:38:21+00:00)
Title: fixed some synchronization issues

- lock was only acquired for 5 ms not for 5 seconds as intended (i guess).
- using another env variable for the initial lock time
- removed duplicate update of the lock