return an error when stream is empty instead of crashing, fix https://github.com/nst/STTwitter/issues/116