Threading enabled in LibEvent only once