Implemented catch for storage exception and search for expired tasks