Fixed segmentation fault

If a server connection is closed immediately and the
`copyStreamPropertyForKey` method is already waiting in the dispatch
queue, the _outputstream will be nil when copying the property,
crashing the app.