Fixes Database Locks in Travis