scheduled executor exception fix