Do not clear the pending event in the polling anymore

This is useless,  and can even cause problems now since polling only do
a sync when the server has actually changed
add the temporary downloaded files to the exclude list