Fix for bug in Roku that means it stops responding to requests after two seconds