fixes:
* locking of shared resources
* increase wait times