Refactor async-onerror pom (#403)