create error_mesg outside clock in open3