Why do you need to do this? It needs to run in it's own thread?