Fix memory leak with non-WSGI thread loggers
Bump version to 0.6.4