Ensure resource aliveness before accessing request object

Check if resource is alive before attempting to read serial mode parameter from request to avoid

"java.lang.IllegalStateException: Request object no longer valid. This object has been cancelled"