Fix incorrect backgrounding of command