mutex reading promise