Fixed Cntl + c bug to kill only forground processes