refactor: rename the post-test function
refactor: rename the post-test function

Make this a private function, since it's not meant to be used outside
this plugin.
Add resetting the socket back to normal as well.

Signed-off-by: Mike Fiedler <af44b651315133051dded0e55830cbf76e9bfef9@gmail.com>

miketheman/pytest-socket