flynn/flynn — pull request #633 by titanous (2014-12-20 04:02:19+00:00)
Title: test: Don’t try to close nil stream

If errors occur while creating the stream, it will be nil, so close after checking the error.