working lock in LocalSenderReciever