#190 Bug reproduced
#190 Resource leak fixed