change parrot to use new event driven API to get message instead of polling