Move topic lookup into publishing thread.
Merge pull request #47 from iHiD/topic_lookup_thread

Move topic lookup into publishing thread.