Bug Fix

Fixed bug in timeout functions that occured when there was only one item in the list.  This cause the thread to hang when it tried to lock_access on a junk pointer.