Was checking typeof streamInfo === 'object', and typeof null is 'object' (because why not?) I think this was previously returning false for timeouts, and now will only return null, so the "typeof" part may not be needed anymore.