Handle timeout and quit during initial SASL step too

This is required for PLAIN authentication.