Java now properly handles multiple futures and server disconnects