#18 improve spring security disconnection