properly waiting for executor