fixed queue clearing bug, added time_to_live support for PushMessage