Five hours is hardly long enough. It will be best part of an hour until you are out of the airport and then you need to be back at least 2 hours (probably more with immigration) so you'd have less than 2 hours - what would you do (it's fine to go and meet someone to deliver something but otherwise forget it). I wouldn't do it for less than about 8 hours.