Improve parallel handling in topographic_corr.