Implmented hacky fix for bug in which sms wasn't being deleted from database by sleeping thread before deletion to ensure native sms app has time to insert the original sms.