Simplest.
Use process to get the id of the osk and close it.