Apply fix for #347 in the vertx engine

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>