fix 'cb() never called' errors due to v0.10.0 tls bug