proof of concept of eventmachine with defer