Is it possible that the process execution takes more than 5 seconds? When the message is received a transaction is started and the process is executed until the next wait state. Only then the message event listener is removed from the database. If you have some long running logic you could add async behaviour to complete the transaction faster.
Best regards,