Fix handling logic of pending request