fixes #110: no waiting on unpublished topics
Merge pull request #137 from ablasdel/issue_110

fixes #110: no waiting on unpublished topics