Some important updates

Possibly fixed a deadlock by adding a dataHandling stage
Added removeTask path and synchronization with addTask as addTask can
happen before removeTask
Fixed Parsing issue