"should have taken 15 minutes and has actually taken 2 hours" is a really good sign that it's time to give up and go get some sleep.
This is also a good sign that you should sign off sick if you've got a cold or flu or some other ailment, even if it's only 11am. It indicates that your productivity is about to go negative and you may actively damage your project if you keep flailing around.