Signal the semaphore in all methods

Added missing dispatch_semaphore_signal() calls.
Merge pull request #1 from gresrun/patch-1

Signal the semaphore in all methods.