logic error in timeout stuff.