Can get hard but get soft towards the end

Hello gents - an issue Iโ€™ve been dealing with is Iโ€™m able to stay hard (I take viagra as well) but when Iโ€™m climaxing and about to cum I get really soft. My wife thinks Iโ€™m putting too much pressure on myself. Has anyone tried experienced this and if so any suggestions?