Added page reload if sending command fails.