Avoid raising None on failed set_keyspace

If the connection was already defunct when the set_keyspace
call failed, None would be raised, resulting in a TypeError.