Loop handler can hibernate and immediately awaken

If a loop handler sends a response and then immediately hibernates the {cowboy_req, resp_sent} message is in its message queue. This means the process is woken up immediately. Should flush for this message before hibernation.