Initial work

If you use the method vertx.close(Handler<AsyncResult<Void>> completionHandler) and block on the result, this sleep shouldn't be necessary. remember close() is asychronous