add thread operation with long task
add global instance for application