prevents server from locking