Implemented an idle process.