polling function built out, to poll, stack messages, send and then pop the messages out of the stack