drain messages after API imports