Remove setParameter variable on connection failure