Improved AisBus provider shutdown handling