Implemented stream handling to check duplicated requests

Implemented stream handling to check duplicated requests