Adding a method for backgrounding functions
Okay...using the tornado ioloop was a bad idea.