Customize delay for displaying error message