Even better connection management

Signed-off-by: Gerco van Heerdt <gercovanheerdt@gmail.com>