Updated request counter to atomic-integer for thread safety
Implemented simple synchronous request processing