proper handling of interruption for isolated benchmark process