Ok, i solved the issue so I'm posting my own answer. It was the keyboard.
I did cut the reed board switch cables and if that was it I'm sure it would have done the trick but it made no difference in my case. In fact it started looping even if I manually put it to sleep after that. I disengaged the keyboard, plugged in a USB keyboard and it has been working perfectly for over 24hrs now.