avoid basket getting frozen during express redirect in case of errors