scanning the left over files in the incron monitoring folder and socket folder to deal with the crash of the server (pep8 checked)