Free device server last so that /logout message bundle sends properly.