Added ability to have lockwait timeout to background data partitioning.