inets: properly stop httpc_handler on closed connection

This bug (`httpc_handler` not being stopped) caused process (and memory) leak in our application because we have many httpc profiles and we do requests to many different websites