socket: fix fd leak in new_listener()
modloader: tiny fix