I am trying to use ngx-spinner in my angular application and I need to set maximum time the spinner can be showed. For example if a API call takes more than 2 min to load the da