quiz time out issue

Hello Guys, i am struggling with quiz time out issue. here is the scenario, when i start to attend lesson and leave it in middle of and when i come back to attend that lesson again then i am getting "You have run out of time." error. Could you guys please help me out to fix this? that will be really helpful. Thanks, Vishal