Fixing memory leak.
Improving DNS cache invalidation.
Release 1.3.1.