improved bean in use exception handling