Check if doneChan is not nil.
Docs doneChan
Merge pull request #9 from crackcomm/master

Check if doneChan is not nil.