convert from event driven to task for Mpns and return device token