Add workaround for MounteBank locks on log file.

Issue described in: https://gist.github.com/zedar/66a38d9548b7eeb0a491

Change Redis connection management. Release it before external HTTP API
call and get it again at the end.