fix connection leak and add possibility to configure pool size and idle timeout
Merge pull request #164 from wajam/fx-fix-connection-leak

fix connection leak and add possibility to configure pool size and idle timeout