As per [the php manual](http://php.net/manual/en/function.stream-socket-client.php):
> Note: This parameter only applies when not making asynchronous connection attempts.

Instead, we'd have to set up a timeout timer in `getConnection()` (or wait for a decent `DeferredTimeout` implementation).