Added some debug print for the pid mismatch