Set pulling_schedule to False after exception

Thanks-to: Wouter Geraedts <w.geraedts@student.ru.nl>