Completing Java Async API