handling correctly exception in setup once method