Finally got terminate to work