fixed dead lock on calling async task from controler

@Tyesb @gggmyyy @ADukeLabs

I fixed the deadlock.

It was really simple have a look and see.