Prevent duplicate onHeadersReceived listener