media: Locking mContext for message handler