End process by timer