Remove any possibilities of deadlocking