It is certainly possible that a stuck F5 key can accidentally refresh a webpage. However, it will only refresh your current tab and not any others. If you are using a USB or wireless keyboard, disconnect the gadget to see if it continues.