call callbacks in thread, do not use boost on client side, renaming and cleanup