Add loading signal to solve async problem