Added `closeAll` method