But as soon as I disconnect the stock fan it starts beeping. What can I do?
Try to update a firmware. Here at my work an S5 was running with no fans connected to the I/O board at all (2 fans were connected over MOLEX to 3pin adapters directly to PSU).
Last software does not have this capability.
Fan1 must be connected.