fixed potential deadlock
- proper use of try-finally
- wrap IOException instead of ignoring it
set version to 3.2-escenic-2