Check that the progressCallback is defined before calling it