Add handle to step in parsing

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>
Trap parse error and use workers in parsing

Signed-off-by: Kaustav Das Modak <kaustav.dasmodak@yahoo.co.in>