Still having issues with close. Now using locking object to fix it.