Fix to memory leak found during profiling application

During profiling we found a memory leak in our app. The Leak pointed to
how the dispatch_source_t was being managed. These changes seemed to
cleanly resolve the leak issue and are in line with Apple’s usage
documentation.