onError/onDone not closed correctly
Merge pull request #1 from financeCoding/master

Fix logging.