callback will be called a second time if error occurs in callback function