Your code may work fine, but 'some bug' may only allow you to run a few requests at a time. This calls for a profiler that can analyze code and detect implementation inefficiencies, which are yet another form of a bug.