Hey mhc,
even if you may have solved your problem already, maybe someone else may find this information useful.
I stumbled across the same problem and was able to solve it.
You have to subscribe to a characteristic in order to keep the connection alive.
See this thread for the solution: Bluetooth disconnects after certain amount of time