Added unsynchronized scope in api_notify. Added task chain synchronization.