Tweaking sleep for reliability
Fixing memory leak issue with media scanner by using a broadcast instead