remove usage of deprecated dispatch_get_current_queue() function