added kill function for Windows processes