Fix for bug1962. Protect subscription request from asynchronous access and messed up state by expiring subscriptions - use semaphore to lock access
Merge pull request #54 from Juniper/bug1962

Fix for bug1962. Protect subscription request from asynchronous access a...