My Custome Activity is stuck

Hi Good Guys,

I’ve created a custom activity to post some value to my API. It’s working if I used Visual Studio. but When I execute in the Studio, It’s stuck until I click End Process button.

the example code as below:

does anyone have some issues as me? or any idea how to solve it?