Change order of response event and API limit check

API limit check should be before response event firing, to check it in assigned listeners.