Add handlers for if the programme's pid is missing