I should probably actually use this free_connection function

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>