minor improvement to pause/resume service
add dep to vertx