Added a 'finally' clause to all Handler classes for simplification