Possibly fixed SQL_LOCKED issue