Handle CB callbacks in separated thread