Resignation of an employee is not valid until accepted by the Secretary, but the Secretary may not withhold acceptance unless proceedings for termination are contemplated or pending.