I was facing this issue from 2-3 months. Today I just opened tasks.json and saw hint that isWatching is deprecated instead use isBackground. I changed it and ran the task and terminated ,Voila it's working.
In short- Open tasks.json. If you see isWatching property on task change it to isBackground.