Implementation of timeout Utility with jQuery.Deferred