remove terminate_job api from perl