handle errors during the creation of port mapper Upstream-commit: 51455b1ee0f120d20d511e3f76786b9d688ceeff Component: engine