What if the worker is still paying into the pension program while doing the contract work? It seems the entity would save money with the contracted/retired worker who may be on retirement insurance rather than a new worker. Perhaps "cap" the time period of the contract to 2-3 years which would make certain the pension is not adversly affected and require the worker to pay into the pension while on contract is an option.