reduce the lambda body
avoid spuriously trigger(i.e. without a call to notify) to wait causing partially ready results_map