Better close of AisPacketInputStream