Make sure that failing Client can be closed