Call beforeResponse interceptor only once.

Currently beforeResponse interceptor is called twice somehow. This PR is fixing it.