After any employee of the city shall become entitled to be retired, such right shall not be lost nor forfeited by discharge or for any other reason.