Fix wait issue in AX::Application.new