Exec threaded

Related to #909