Pioli admits defeat 'hurt'