removed "finally" call to allow PHP < 5.5  ( >= 5.4 )