close connection after routing

the connection was not getting closed properly after routing
also removed a dependency issue with cobertura