fixed issue with delayed::job and apns getting missed.