Make trilearn handle eg SIGINT by writing the trajectory sampled so far. This property can be used in benchpress.