SR send working, receive is not shifting the window