fix generics bug in Groovy 2.3 / JDK 7 with async
Improve error handling of async requests